<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-zhOrder-edit" th:object="${zhOrder}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">唯一标识：</label>
				<div class="col-sm-8">
					<input id="uuid" name="uuid" th:field="*{uuid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商品id：</label>
				<div class="col-sm-8">
					<input id="goodId" name="goodId" th:field="*{goodId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">购买者用户名：</label>
				<div class="col-sm-8">
					<input id="buyerUsername" name="buyerUsername" th:field="*{buyerUsername}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">出售者用户名：</label>
				<div class="col-sm-8">
					<input id="salerUsername" name="salerUsername" th:field="*{salerUsername}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单状态：</label>
				<div class="col-sm-8">
					<input id="orderStatus" name="orderStatus" th:field="*{orderStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">购买者游戏角色名：</label>
				<div class="col-sm-8">
					<input id="buyerGameRoleName" name="buyerGameRoleName" th:field="*{buyerGameRoleName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">游戏区域id：</label>
				<div class="col-sm-8">
					<input id="gameAreaId" name="gameAreaId" th:field="*{gameAreaId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">游戏id：</label>
				<div class="col-sm-8">
					<input id="gameId" name="gameId" th:field="*{gameId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付时间：</label>
				<div class="col-sm-8">
					<input id="payTime" name="payTime" th:field="*{payTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">发货时间：</label>
				<div class="col-sm-8">
					<input id="deliveryTime" name="deliveryTime" th:field="*{deliveryTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">下单时商品名称：</label>
				<div class="col-sm-8">
					<input id="goodName" name="goodName" th:field="*{goodName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商品数量：</label>
				<div class="col-sm-8">
					<input id="goodCount" name="goodCount" th:field="*{goodCount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">下单时单个商品价格：</label>
				<div class="col-sm-8">
					<input id="goodSinglePrice" name="goodSinglePrice" th:field="*{goodSinglePrice}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">下单时商品总价：</label>
				<div class="col-sm-8">
					<input id="goodAmountTotal" name="goodAmountTotal" th:field="*{goodAmountTotal}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">实际付款金额：</label>
				<div class="col-sm-8">
					<input id="orderRealPayAmount" name="orderRealPayAmount" th:field="*{orderRealPayAmount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付方式 0:支付宝：</label>
				<div class="col-sm-8">
					<input id="payType" name="payType" th:field="*{payType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">商家订单号(这里就是我方)：</label>
				<div class="col-sm-8">
					<input id="outTradeNo" name="outTradeNo" th:field="*{outTradeNo}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">站点id：</label>
				<div class="col-sm-8">
					<input id="deptId" name="deptId" th:field="*{deptId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="gmtCreate" name="gmtCreate" th:field="*{gmtCreate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新时间：</label>
				<div class="col-sm-8">
					<input id="gmtModified" name="gmtModified" th:field="*{gmtModified}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">购买者游戏角色区服名：</label>
				<div class="col-sm-8">
					<input id="buyerGameRoleAreaName" name="buyerGameRoleAreaName" th:field="*{buyerGameRoleAreaName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付状态 未支付0，已支付1，金额异常-1：</label>
				<div class="col-sm-8">
					<input id="payStatus" name="payStatus" th:field="*{payStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">支付方流水号：</label>
				<div class="col-sm-8">
					<input id="tradeNo" name="tradeNo" th:field="*{tradeNo}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/zhOrder";
		$("#form-zhOrder-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-zhOrder-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
